﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MethodWorx.CMS.Configuration;

namespace MethodWorx.CMS.Plugins.Configuration
{
    public class ImageAssetPickerPropertyConfiguration : IPropertyConfiguration
    {
        public Type GetDetailsType()
        {
            return typeof(ImageAssetPickerPropertyDetails);
        }

        public string Name
        {
            get
            {
                return "Image Asset";
            }
        }

        public AssemblyResourceReference GetPropertyEditorControl()
        {
            return new AssemblyResourceReference(this.GetType().Assembly, "Views/ImageAssetPickerPropertyEditor.ascx");
        }

        public AssemblyResourceReference GetPropertyControl()
        {
            return new AssemblyResourceReference(this.GetType().Assembly, "Views/ImageAssetPickerProperty.ascx");
        }
    }
}
